import Vue from 'vue'
import ElementUI from 'element-ui'
import '@/styles/init/index.scss' // 导入初始化样式
import 'element-ui/lib/theme-chalk/index.css' // 导入 Element 样式
import '@/styles/global/index.scss' // 全局样式
import 'font-awesome/css/font-awesome.css'// font-awesome图标
import '@/utils/permission' // 权限控制
import App from './App.vue'
import router from './router'
import store from './store'
import * as echarts from 'echarts'

Vue.config.productionTip = false
Vue.use(ElementUI) // 全局注册 Element 组件
Vue.prototype.$echarts = echarts // 挂载到Vue实例上面

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
